package org.opens.mybatisplus.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@Data
@TableName(value = "jackson_ignore")
public class JacksonIgnoreDO {

    @TableId
    private Integer id;

    @TableField(value = "name")
    private String name;

    @JsonIgnore
    @TableField(value = "score")
    private Float score;

}
